package com.chenjt.jvm.first.five_heap;

/**
 * 注释：对象创建和GC概述
 *
 * @author chenjt
 * @date 2025/6/7 14:54
 */
public class SimpleHeap {

    private int id;

    public SimpleHeap(int id){
        this.id = id;
    }
    public void show(){
        System.out.println("My ID is " + id);
    }
    public static void main(String[] args) {
        SimpleHeap s1 = new SimpleHeap(1);
        SimpleHeap s2 = new SimpleHeap(2);

        int[] arr = new int[10];
        Object[] arr1 = new Object[10];
    }

}
